#ifndef CONTEXT_H
#define CONTEXT_H

#include <QHash>
#include <QVariant>
#include <QSharedPointer>
#include "element.h"

struct Context
{
    QHash<QString, QSharedPointer<Element> > element_types;

    static Context& getGlobalContext()
    {
        static Context context;
        return context;
    }
};

#endif // CONTEXT_H
